Optimal. Leaf size=198 \[ \frac{2 \sqrt{c+d} \sec (e+f x) (a+b \sin (e+f x)) \sqrt{-\frac{(b c-a d) (1-\sin (e+f x))}{(c+d) (a+b \sin (e+f x))}} \sqrt{\frac{(b c-a d) (\sin (e+f x)+1)}{(c-d) (a+b \sin (e+f x))}} \Pi \left (\frac{b (c+d)}{(a+b) d};\sin ^{-1}\left (\frac{\sqrt{a+b} \sqrt{c+d \sin (e+f x)}}{\sqrt{c+d} \sqrt{a+b \sin (e+f x)}}\right )|\frac{(a-b) (c+d)}{(a+b) (c-d)}\right )}{d f \sqrt{a+b}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.113887, antiderivative size = 198, normalized size of antiderivative = 1., number of steps used = 1, number of rules used = 1, integrand size = 29, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.034, Rules used = {2811} \[ \frac{2 \sqrt{c+d} \sec (e+f x) (a+b \sin (e+f x)) \sqrt{-\frac{(b c-a d) (1-\sin (e+f x))}{(c+d) (a+b \sin (e+f x))}} \sqrt{\frac{(b c-a d) (\sin (e+f x)+1)}{(c-d) (a+b \sin (e+f x))}} \Pi \left (\frac{b (c+d)}{(a+b) d};\sin ^{-1}\left (\frac{\sqrt{a+b} \sqrt{c+d \sin (e+f x)}}{\sqrt{c+d} \sqrt{a+b \sin (e+f x)}}\right )|\frac{(a-b) (c+d)}{(a+b) (c-d)}\right )}{d f \sqrt{a+b}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2811
Rubi steps
\begin{align*} \int \frac{\sqrt{a+b \sin (e+f x)}}{\sqrt{c+d \sin (e+f x)}} \, dx &=\frac{2 \sqrt{c+d} \Pi \left (\frac{b (c+d)}{(a+b) d};\sin ^{-1}\left (\frac{\sqrt{a+b} \sqrt{c+d \sin (e+f x)}}{\sqrt{c+d} \sqrt{a+b \sin (e+f x)}}\right )|\frac{(a-b) (c+d)}{(a+b) (c-d)}\right ) \sec (e+f x) \sqrt{-\frac{(b c-a d) (1-\sin (e+f x))}{(c+d) (a+b \sin (e+f x))}} \sqrt{\frac{(b c-a d) (1+\sin (e+f x))}{(c-d) (a+b \sin (e+f x))}} (a+b \sin (e+f x))}{\sqrt{a+b} d f}\\ \end{align*}
Mathematica [A] time = 0.218514, size = 195, normalized size = 0.98 \[ \frac{2 \sqrt{c+d} \sec (e+f x) (a+b \sin (e+f x)) \sqrt{\frac{(b c-a d) (\sin (e+f x)-1)}{(c+d) (a+b \sin (e+f x))}} \sqrt{\frac{(b c-a d) (\sin (e+f x)+1)}{(c-d) (a+b \sin (e+f x))}} \Pi \left (\frac{b (c+d)}{(a+b) d};\sin ^{-1}\left (\frac{\sqrt{a+b} \sqrt{c+d \sin (e+f x)}}{\sqrt{c+d} \sqrt{a+b \sin (e+f x)}}\right )|\frac{(a-b) (c+d)}{(a+b) (c-d)}\right )}{d f \sqrt{a+b}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] time = 4.787, size = 248028, normalized size = 1252.7 \begin{align*} \text{output too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\sqrt{b \sin \left (f x + e\right ) + a}}{\sqrt{d \sin \left (f x + e\right ) + c}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\sqrt{a + b \sin{\left (e + f x \right )}}}{\sqrt{c + d \sin{\left (e + f x \right )}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\sqrt{b \sin \left (f x + e\right ) + a}}{\sqrt{d \sin \left (f x + e\right ) + c}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]